package com.willcode.demo.orm.hibernate.dao;

import com.willcode.demo.orm.hibernate.entity.User;
import org.springframework.data.repository.CrudRepository;

/**
 * @author Will
 */
public interface IUserMapper extends CrudRepository<User, String> {

    /**
     * 连接查询数据
     * @param id
     * @return
     */
    User find4Link(String id);
}
